package vo;

public class Supplier {  //供应商表
    private String sname;//供应商姓名
    private String snumber;//供应商电话
    private int furniture_id;//供应商供应的商品种类
    private int count;//供应商供应的商品的数量

    public Supplier(String sname, String snumber, int furniture_id, int count) {
        this.sname = sname;
        this.snumber = snumber;
        this.furniture_id = furniture_id;
        this.count = count;
    }

    public Supplier(String sname) {
        this.sname = sname;
    }

    @Override
    public String toString() {
        return "Supplier{" +
                "供应商姓名:'" + sname + '\'' +
                ", 供应商电话:'" + snumber + '\'' +
                ", 供应的商品编号:" + furniture_id +
                ", 供应数量:" + count +
                '}';
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSnumber() {
        return snumber;
    }

    public void setSnumber(String snumber) {
        this.snumber = snumber;
    }

    public int getFurniture_id() {
        return furniture_id;
    }

    public void setFurniture_id(int furniture_id) {
        this.furniture_id = furniture_id;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
